how to check @ and . validation in php